﻿namespace Microsoft.COM
{
    using System;

    [Flags]
    public enum CLSCTX : uint
    {
        CLSCTX_ACTIVATE_32_BIT_SERVER = 0x40000,
        CLSCTX_ACTIVATE_64_BIT_SERVER = 0x80000,
        CLSCTX_DISABLE_AAA = 0x8000,
        CLSCTX_ENABLE_AAA = 0x10000,
        CLSCTX_ENABLE_CODE_DOWNLOAD = 0x2000,
        CLSCTX_FROM_DEFAULT_CONTEXT = 0x20000,
        CLSCTX_INPROC_HANDLER = 2,
        CLSCTX_INPROC_HANDLER16 = 0x20,
        CLSCTX_INPROC_SERVER = 1,
        CLSCTX_INPROC_SERVER16 = 8,
        CLSCTX_LOCAL_SERVER = 4,
        CLSCTX_NO_CODE_DOWNLOAD = 0x400,
        CLSCTX_NO_CUSTOM_MARSHAL = 0x1000,
        CLSCTX_NO_FAILURE_LOG = 0x4000,
        CLSCTX_REMOTE_SERVER = 0x10,
        CLSCTX_RESERVED1 = 0x40,
        CLSCTX_RESERVED2 = 0x80,
        CLSCTX_RESERVED3 = 0x100,
        CLSCTX_RESERVED4 = 0x200,
        CLSCTX_RESERVED5 = 0x800
    }
}

